package com.cjk.foundation.entity;

import java.io.Serializable;
import java.util.List;

public class MenuEntity implements Serializable {

	private static final long serialVersionUID = -996266697368703197L;
	
	private Integer id;
	private String title;
	private String url;
	private String icon;
	private Integer parentId;
	private List<MenuEntity> subMenuList;
	
	//tree组件
	private Integer pId;
	private String name;
	private boolean checked;
	private boolean open = true;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public List<MenuEntity> getSubMenuList() {
		return subMenuList;
	}
	public void setSubMenuList(List<MenuEntity> subMenuList) {
		this.subMenuList = subMenuList;
	}
	
	//tree组件
	public Integer getpId() {
		return pId;
	}
	public void setpId(Integer pId) {
		this.pId = pId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public boolean isOpen() {
		return open;
	}
	public void setOpen(boolean open) {
		this.open = open;
	}
	
}
